package com.dearbinge.data.pojo.collect.vo;

import com.dearbinge.data.pojo.commodity.vo.CommodityMessageResponseVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品收藏信息 实体类
 *
 * @author wes
 * @date 2019/1/12
 */
@Api("商品信息")
public class CommodityCollectVO implements Serializable {


    @ApiModelProperty("收藏id")
    private Integer id;

    @ApiModelProperty("商品id")
    private Integer commodityId;

    @ApiModelProperty("收藏时间")
    private Date createTime;

    @ApiModelProperty("收藏的用户id")
    private String userId;

    @ApiModelProperty("收藏总数")
    private Integer collectTotal;

    @ApiModelProperty("收藏商品对应的店铺id")
    private String shopId;

    @ApiModelProperty("转发商品的用户id")
    private Integer otherId;

    @ApiModelProperty("商品信息")
    private CommodityMessageResponseVO commodityMessageResponseVO;


    public CommodityMessageResponseVO getCommodityMessageResponseVO() {
        return commodityMessageResponseVO;
    }

    public void setCommodityMessageResponseVO(CommodityMessageResponseVO commodityMessageResponseVO) {
        this.commodityMessageResponseVO = commodityMessageResponseVO;
    }

    public Integer getOtherId() {
        return otherId;
    }

    public void setOtherId(Integer otherId) {
        this.otherId = otherId;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getCollectTotal() {
        return collectTotal;
    }

    public void setCollectTotal(Integer collectTotal) {
        this.collectTotal = collectTotal;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    @Override
    public String toString() {
        return "CommodityCollectVO{" +
                "id=" + id +
                ", commodityId=" + commodityId +
                ", createTime=" + createTime +
                ", userId='" + userId + '\'' +
                ", collectTotal=" + collectTotal +
                ", shopId='" + shopId + '\'' +
                ", otherId=" + otherId +
                ", commodityMessageResponseVO=" + commodityMessageResponseVO +
                '}';
    }
}
